<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@page import="b1w1nn1ng.crossf1t.gui.*, java.util.*, java.sql.*, b1w1nn1ng.crossf1t.business.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title> Email Settings </title>
        <jsp:include page="/detectBrowser.jsp" />	
    </head>
    
    <%
        User user = (User) session.getAttribute("user");
        session.setAttribute("user", user);
    %>
    
    <body>
        <div id="container">
        <jsp:include page="/navbar.jsp" />    
        <h1> Email Settings </h1> <hr />
        
        <form method="get" action="settingsEmailConfirmation.jsp">
            <table id="settingsTable" style="text-align:left; width:450px; font-size: 24px;">
                <tr>
                    <td> Old Email: </td>
                    <td> <%= user.getEmail()%> </td>
                </tr>
                <tr>
                    <td> New Email: </td>
                    <td> <input type="text" name="newEmail" /> </td>
                </tr>
            </table>
            <input type="submit" value="Save" />
        </form>
        </div>
        </body>
</html>





